package com.flying.pas.sequence.model;

import java.util.Date;

import com.flying.framework.data.Data;
import com.flying.framework.annotation.Param;
import com.flying.framework.data.DataSerializable;
import com.flying.framework.metadata.Meta;

@SuppressWarnings("serial")
@Meta(id="t_sequence",title="", table="t_sequence", primaryKeys={"category"})
public class Sequence extends Data implements DataSerializable {
	public final static String ENTITY_NAME = "t_sequence";
	
	public final static String CATEGORY = "category";
	public final static String CREATE_DATE = "create_date";
	public final static String NEXT_VAL = "next_val";
	public final static String REMARKS = "remarks";
	public final static String STEP = "step";
	public final static String UPDATE_DATE = "update_date";
	public final static String VERSION = "version";
	
	
	@Param(value=CATEGORY,   required=true,   maxlength=100,	desc="CATEGORY")
	private String category;
	
	@Param(value=CREATE_DATE,   required=false,   maxlength=0,	desc="CREATE DATE" )
	private Date createDate;
	
	@Param(value=NEXT_VAL,   required=false,   maxlength=0,	desc="NEXT VAL" )
	private Integer nextVal;
	
	@Param(value=REMARKS,   required=false,   maxlength=200,	desc="REMARKS" )
	private String remarks;
	
	@Param(value=STEP,   required=false,   maxlength=0,	desc="STEP" )
	private Integer step;
	
	@Param(value=UPDATE_DATE,   required=false,   maxlength=0,	desc="UPDATE DATE" )
	private Date updateDate;
	
	@Param(value=VERSION,   required=false,   maxlength=0,	desc="VERSION" )
	private Long version;
	
	
	public String getCategory() {
		return this.category;
	}
	
	public void setCategory(String category) {
		this.category = category;
	}
	
	public Date getCreateDate() {
		return this.createDate;
	}
	
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	
	public Integer getNextVal() {
		return this.nextVal;
	}
	
	public void setNextVal(Integer nextVal) {
		this.nextVal = nextVal;
	}
	
	public String getRemarks() {
		return this.remarks;
	}
	
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	
	public Integer getStep() {
		return this.step;
	}
	
	public void setStep(Integer step) {
		this.step = step;
	}
	
	public Date getUpdateDate() {
		return this.updateDate;
	}
	
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
	public Long getVersion() {
		return this.version;
	}
	
	public void setVersion(Long version) {
		this.version = version;
	}
	

}